Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GridMap transform problems #30067

Merged
merged 1 commit into from
Jun 25, 2019
Merged

Fix GridMap transform problems #30067

merged 1 commit into from
Jun 25, 2019

Conversation

GlaceGwyneth
Copy link
Contributor

GridMap's preview cursor appeared in the wrong place when the parent's transform was modified.
The cursor's transform was being set with get_transform, but its get_global_transform that considers the parent's transform.
Fixes #2668

Also, the grid itself (orange lines in editor) would reset when the mouse moved in the editor area while a MeshLibrary item was selected.
Removing the line fixes the issue but I decided to change it instead, in case it has some other effect I couldn't see...
(I couldn't find an open issue for this one)

@akien-mga akien-mga added this to the 3.2 milestone Jun 25, 2019
@akien-mga akien-mga merged commit ca084db into godotengine:master Jun 25, 2019
@akien-mga
Copy link
Member

Thanks!

@GlaceGwyneth GlaceGwyneth deleted the gridmap-fix branch June 25, 2019 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grid Map node editing broken when transform is modified
2 participants